package com.kyp.util;

public class KYPLog {
	
	public static final int ERROR_LOG = 1;
	public static final int INFO_LOG = 2;
	
	public static void writeLog(int logType, String logStr, Class<?> targetCls){
		switch (logType) {
		case ERROR_LOG:
			System.err.println(logStr);
			break;
		case INFO_LOG:
			System.out.println(logStr);
			break;
		default:
			break;
		}
	}
}
